package rov.ui.widget;


import java.util.*;
import java.awt.*;
import javax.swing.*;


public class ImageDesktop extends JDesktopPane
{
    private ArrayList<Img> mImages;


    public ImageDesktop()
    {
        mImages = new ArrayList<Img>();
        setBackground(Color.white);
    }


    private void addStaticImage(Image img, int x, int y)
    {
        mImages.add(new Img(img, x, y));
    }


    private void addDynamicImage(Image img, int maxX, int maxY)
    {
        mImages.add(new Img(img, maxX, maxY));
    }


    public void paintComponent(Graphics g)
    {
        super.paintComponent(g);

        int size = Math.min(getWidth(), getHeight());

        int x = size / 2;
        int y = size / 2;

        //g.drawImage(mBackground, x, y, size, size);
    }


    private static class Img
    {
        private Image mImg;
        private boolean mStatic;
        private int x;
        private int y;


        private Img(Image img, int x, int y)
        {
            
        }
    }
}
